<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">
	 主要完成人情况
</div>
<table id="zh_persons" border="0" cellspacing="0" cellpadding="0"
	class="table01">
	<thead>
		<tr>
			<th nowrap>序号</th>
			<th width="11%">姓名</th>
			<th width="13%">电子邮件</th>
			<th width="12%">联系电话</th>
			<th width="17%">工作单位</th>
			<th width="11%">学位</th>
			<th width="12%">职务</th>
			<th width="12%">职称</th>
		</tr>
	</thead>
	<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center" width="50px">
					<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn3()"  style="display:none"/> 
					<c:if test="${index==0}">
						<input type="hidden" id="submit_psn"
							name="zh_persons/zh_person[${flag}${index}]@submit_psn" value="1" />
						<input type="hidden"
							name="zh_persons/zh_person[${flag}${index}]/basic_info/psn_code"
							value="<x:out select="$zh_person/basic_info/psn_code" />" />
					</c:if>
					<span name="zh_persons/zh_person[${flag}${index}]@seq_no">${index+1}</span>
				</td>
				<td align="center">
					<span class="required " label="姓名" name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"> 
						<a href="#" class="yase" onclick="psnInfoView(this,'zh_persons')"><x:out select="$zh_person/basic_info/zh_name" /></a>
					</span>
					<input type="hidden" class="required" label="性别" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value"
						value="<x:out select="$zh_person/basic_info/gender_value" />" />
					<input type="hidden" class="" label="性别 name" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_name"
						value="<x:out select="$zh_person/basic_info/gender_name" />" />
					<input type="hidden" class="required" label="民族" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name"
						value="<x:out select="$zh_person/basic_info/ethnicity_name" />" />
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value"
						value="<x:out select="$zh_person/basic_info/ethnicity_value" />" />
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/overseas_name"
						value="<x:out select="$zh_person/basic_info/overseas_name" />" />
					<input type="hidden" class="required" label="身份证号码" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code"
						value="<x:out select="$zh_person/basic_info/card_code" />" /></td>
				<td align="center">
					<span class="required " label="电子邮箱" name="zh_persons/zh_person[${flag}${index}]/contact/email">
						<x:out select="$zh_person/contact/email" />
					</span>
				</td>
				<td align="center">
					<span class="required " label="联系电话" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work">
						<x:out select="$zh_person/contact/tel_work" />
					</span>
				</td>
				<td align="center">
					<span class="required " label="工作单位" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name">
						<x:out select="$zh_person/basic_info/org_name" />
						<input type="hidden" class="" label="工作单位 code" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code"
						value="<x:out select="$zh_person/basic_info/org_code" />" />
					</span>
					<input type="hidden" class="required" label="出生日期" name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday"
						value="<x:out select="$zh_person/basic_info/birthday" />" />
					<input type="hidden" class="required" label="住宅电话" name="zh_persons/zh_person[${flag}${index}]/contact/mobile"
						value="<x:out select="$zh_person/contact/mobile" />" />
					<input type="hidden" class="required" label="通讯地址" name="zh_persons/zh_person[${flag}${index}]/basic_info/address"
						value="<x:out select="$zh_person/basic_info/address" />" />
					<input type="hidden" class="required" label="出生地" name="zh_persons/zh_person[${flag}${index}]/basic_info/birth_area"
						value="<x:out select="$zh_person/basic_info/birth_area" />" />
					<input type="hidden" class="required" label="邮政编码" name="zh_persons/zh_person[${flag}${index}]/contact/post_code"
						value="<x:out select="$zh_person/contact/post_code" />" />
					<input type="hidden" class="required" label="文化程度" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name"
						value="<x:out select="$zh_person/basic_info/educate_name" />" />
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value"
						value="<x:out select="$zh_person/basic_info/educate_value" />" />
					<input type="hidden" class="required" label="是否是院士" name="zh_persons/zh_person[${flag}${index}]/basic_info/isyuansi_name"
						value="<x:out select="$zh_person/basic_info/isyuansi_name" />" />
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/isyuansi_value"
						value="<x:out select="$zh_person/basic_info/isyuansi_value" />" />
					<input type="hidden" class="required" label="党派" name="zh_persons/zh_person[${flag}${index}]/basic_info/party_name"
						value="<x:out select="$zh_person/basic_info/party_name" />" />
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/party_value"
						value="<x:out select="$zh_person/basic_info/party_value" />" />
				</td>
				<td align="center">
					<span class="required " label="学位" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name">
						<x:out select="$zh_person/basic_info/degree_name" /></span>
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value"
						value="<x:out select="$zh_person/basic_info/degree_value" />" /></td>
				<td align="center">
					<span class="required " label="职务" name="zh_persons/zh_person[${flag}${index}]/basic_info/position_2">
						<x:out select="$zh_person/basic_info/position_2" />
					</span>
				</td>
				<td align="center">
					<span class="required " label="职称" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name">
						<x:out select="$zh_person/basic_info/prof_title_name" />
					</span>
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value"
						value="<x:out select="$zh_person/basic_info/prof_title_value" />" />
					<input type="hidden" class="required" label="专业" name="zh_persons/zh_person[${flag}${index}]/contact/major"
						value="<x:out select="$zh_person/contact/major" />" />
					<input type="hidden" label="毕业学校" name="zh_persons/zh_person[${flag}${index}]/basic_info/graduate_college"
						value="<x:out select="$zh_person/basic_info/graduate_college" />" />
					<input type="hidden" class="required" label="毕业时间" name="zh_persons/zh_person[${flag}${index}]/basic_info/graduation_date"
						value="<x:out select="$zh_person/basic_info/graduation_date" />" />
					<input type="hidden" class="" label="毕业时间 time" name="zh_persons/zh_person[${flag}${index}]/basic_info/graduation_time"
						value="<x:out select="$zh_person/basic_info/graduation_time" />" />
					<input type="hidden" class="required" label="参加本项目开始时间" name="zh_persons/zh_person[${flag}${index}]/basic_info/prj_startdate"
						value="<x:out select="$zh_person/basic_info/prj_startdate" />" />
					<input type="hidden" class="required" label="参加本项目结束时间" name="zh_persons/zh_person[${flag}${index}]/basic_info/prj_enddate"
						value="<x:out select="$zh_person/basic_info/prj_enddate" />" />
					<input type="hidden" class="required" label="家庭地址" name="zh_persons/zh_person[${flag}${index}]/basic_info/home_address"
						value="<x:out select="$zh_person/basic_info/home_address" />" />
					<input type="hidden" class="required" label="曾获奖励与荣誉称号情况" name="zh_persons/zh_person[${flag}${index}]/basic_info/wcr_honour"
						value="<x:out select="$zh_person/basic_info/wcr_honour" />" />
					<input type="hidden" class="" label="曾获奖励与荣誉称号情况2" name="zh_persons/zh_person[${flag}${index}]/basic_info/wcr_honour_hidden"
						value="<x:out select="$zh_person/basic_info/wcr_honour_hidden" />" />
					<input type="hidden" class="required" label="创造性贡献" name="zh_persons/zh_person[${flag}${index}]/basic_info/wcr_creativity_contribute"
						value="<x:out select="$zh_person/basic_info/wcr_creativity_contribute" />" />
					<input type="hidden" class="" label="创造性贡献2" name="zh_persons/zh_person[${flag}${index}]/basic_info/wcr_creativity_contribute_hidden"
						value="<x:out select="$zh_person/basic_info/wcr_creativity_contribute_hidden" />" />
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age"
						value="<x:out select="$zh_person/basic_info/age" />" />
					<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml" />
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>
<br />

<script type="text/javascript">
function psnInfoView(obj,tableId,titleName) {
	var url = ctx+"/proposal/2014/view/dialog/psnInfoView_kxjsjbj_dgzywcr2015?parentTab="+tableId+"&type=edit&TB_iframe=true&height=460&width=910";
	$(obj).parents("tr").find(":radio").attr("checked",true);	
	if(!$("#"+tableId+" :radio:checked").length>0){
		scmWarn(irisNotes.pleaseSelectARow);
		return false;
	}
	
	if(url!=null&&url!=""){
		// showThickBox(url,irisNotes.viewResearcherInformation);
		var title=irisNotes.viewResearcherInformation;
		if (titleName != undefined)
		{
			title = titleName;
		}
		tb_show(title,url,false);
	}
}


 
</script>



